package pdd.beans;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * Created by gtx on 2018/6/12.
 * 标准类目信息
 * @author gtx
 */
public class CatsGet implements Serializable{

    private static final long serialVersionUID = -1630424086906481994L;
    /**
     * 类目层级，1-一级类目，2-二级类目，3-三级类目，4-四级类目
     */
    @JSONField(name = "level")
    private Integer level;
    /**
     * 商品类目名称
     */
    @JSONField(name = "cat_name")
    private String catName;
    /**
     * id所属父类目ID，其中，parent_cat_id=0时为顶级节点
     */
    @JSONField(name = "parent_cat_id")
    private Long parentId;
    /**
     * 商品类目ID
     */
    @JSONField(name = "cat_id")
    private Long catId;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getCatId() {
        return catId;
    }

    public void setCatId(Long catId) {
        this.catId = catId;
    }
}
